package com.facishare.open.demo.utils;

import java.util.Random;

/**
 * 随机休息.
 * Created by zenglb on 2016/7/19.
 */
public class RandomSleepUtils {
    private static Random random =  new Random();

    /**
     * 随机休息一段时间.
     */
    public static final void sleep(){
        try {
            Thread.sleep(random.nextInt(900) + 100);
        } catch (InterruptedException e) {
        }
    }
}
